package com.black.common.constant;

/**
 * 缓存的key 常量
 *
 * @author
 */
public class CacheConstants {
    /**
     * 后台登录用户 redis key
     */
    public static final String LOGIN_TOKEN_KEY = "login_admin_tokens:";

    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";

    /**
     * 防重提交 redis key
     */
    public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";

    /**
     * 限流 redis key
     */
    public static final String RATE_LIMIT_KEY = "rate_limit:";

    /**
     * 登录账户密码错误次数 redis key
     */
    public static final String PWD_ERR_CNT_KEY = "pwd_err_cnt:";

    public static final String SYS_NOTICE_ID = "notice_id";

    /**
     * 以手机号登录发送验证码
     */
    public static final String SMS_LOGIN_CODE_KEY = "sms:login:";

    /**
     * 注册短信发送
     */
    public static final String SMS_REGISTER_CODE_KEY = "sms:register:";

    /**
     * APP登录用户 redis key
     */
    public static final String APP_LOGIN_TOKEN_KEY = "app_login_tokens:";

    /**
     * 找涨知识 redis key
     */
    public static final String APP_FIND_ZHANGZHISHI_KEY = "app_find_zhangzhishi:";

    /**
     * 涨知识点赞 redis key
     */
    public static final String APP_FIND_ZHANGZHISHI_ZAN_KEY = "app_find_zhangzhishi_zan:";

    /**
     * 手机验证码 redis key
     */
    public static final String MOBILE_CODE_KEY = "mobile_codes:";

    public static final String APP_STORE_ADDRESSES_KEY = "app_store_addresses:";
}
